<HTML xmlns="http://www.w3.org/1999/xhtml" xmlns:="http://www.w3.org/1999/xhtml">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"></META>
<TITLE>Document Definition</TITLE>
<LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon"></LINK>
<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Edition.css" id="paramCSS"></LINK>

<SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">
var baseDirection = "../../../../../web/";
</SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">
  LNG_POR_DEFECTO = "en_US";
</SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
<script language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/default/ValidationIntegerBox.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/default/ValidationTextBox.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/default/ValidationTextArea.js" type="text/javascript"></script>

<SCRIPT language="JavaScript" type="text/javascript">
function depurar(action, Formulario, valor) {
  var frm=document.frmMain;
  var key = eval("document.frmMain." + frm.inpKeyName.value);
  return depurarClient(action, Formulario, valor);
}
</SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="selectedColumn"></SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="keyMap"></SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript">
function reloadComboReloads167(changedField) {
  submitCommandForm(changedField, false, null, '../ad_callouts/ComboReloads' + document.frmMain.inpTabId.value + '.html', 'frameOculto', null, null, true);
  return true;
}

function depurarClient(action, Formulario, valor) {
  var frm=document.frmMain;
  if (inputValue(frm.inpadClientId)==null || inputValue(frm.inpadClientId)=="") {
    setFocus(frm.inpadClientId);
    mensaje(1);
    return false;
  }
  if (inputValue(frm.inpadOrgId)==null || inputValue(frm.inpadOrgId)=="") {
    setFocus(frm.inpadOrgId);
    mensaje(1);
    return false;
  }
  if (inputValue(frm.inpname)==null || inputValue(frm.inpname)=="") {
    frm.inpname.focus();
    mensaje(1);
    return false;
  }

  if (inputValue(frm.inpprintname)==null || inputValue(frm.inpprintname)=="") {
    frm.inpprintname.focus();
    mensaje(1);
    return false;
  }

  if (inputValue(frm.inpglCategoryId)==null || inputValue(frm.inpglCategoryId)=="") {
    setFocus(frm.inpglCategoryId);
    mensaje(1);
    return false;
  }
  if (inputValue(frm.inpdocbasetype)==null || inputValue(frm.inpdocbasetype)=="") {
    setFocus(frm.inpdocbasetype);
    mensaje(1);
    return false;
  }


  if (inputValue(frm.inpdocumentcopies)==null || inputValue(frm.inpdocumentcopies)=="") {
    setFocus(frm.inpdocumentcopies);
    mensaje(1);
    return false;
  }


  if (inputValue(frm.inpdocumentcopies)!=null && inputValue(frm.inpdocumentcopies)!="" && (parseInt(frm.inpdocumentcopies.value) < parseInt('0'))) {
    setFocus(frm.inpdocumentcopies)
    mensaje(9);
    return false;
  }



  return true;
}

function displayLogic() {
if (inputValue(document.frmMain.inpdocbasetype) == 'SOO') {
displayLogicElement('DocSubTypeSO_inp_td', true);
displayLogicElement('DocSubTypeSO_inp', true);
displayLogicElement('DocSubTypeSO_lbl_td', true);
displayLogicElement('DocSubTypeSO_lbl', true);
} else {
displayLogicElement('DocSubTypeSO_inp_td', false);
displayLogicElement('DocSubTypeSO_inp', false);
displayLogicElement('DocSubTypeSO_lbl_td', false);
displayLogicElement('DocSubTypeSO_lbl', false);
}
if (inputValue(document.frmMain.inpdocbasetype) == 'SOO') {
displayLogicElement('C_DocTypeInvoice_ID_inp_td', true);
displayLogicElement('C_DocTypeInvoice_ID_inp', true);
displayLogicElement('C_DocTypeInvoice_ID_lbl_td', true);
displayLogicElement('C_DocTypeInvoice_ID_lbl', true);
} else {
displayLogicElement('C_DocTypeInvoice_ID_inp_td', false);
displayLogicElement('C_DocTypeInvoice_ID_inp', false);
displayLogicElement('C_DocTypeInvoice_ID_lbl_td', false);
displayLogicElement('C_DocTypeInvoice_ID_lbl', false);
}
if (inputValue(document.frmMain.inpdocbasetype) == 'SOO') {
displayLogicElement('C_DocTypeShipment_ID_inp_td', true);
displayLogicElement('C_DocTypeShipment_ID_inp', true);
displayLogicElement('C_DocTypeShipment_ID_lbl_td', true);
displayLogicElement('C_DocTypeShipment_ID_lbl', true);
} else {
displayLogicElement('C_DocTypeShipment_ID_inp_td', false);
displayLogicElement('C_DocTypeShipment_ID_inp', false);
displayLogicElement('C_DocTypeShipment_ID_lbl_td', false);
displayLogicElement('C_DocTypeShipment_ID_lbl', false);
}
if (inputValue(document.frmMain.inpisdocnocontrolled) == 'Y') {
displayLogicElement('DocNoSequence_ID_inp_td', true);
displayLogicElement('DocNoSequence_ID_inp', true);
displayLogicElement('DocNoSequence_ID_lbl_td', true);
displayLogicElement('DocNoSequence_ID_lbl', true);
} else {
displayLogicElement('DocNoSequence_ID_inp_td', false);
displayLogicElement('DocNoSequence_ID_inp', false);
displayLogicElement('DocNoSequence_ID_lbl_td', false);
displayLogicElement('DocNoSequence_ID_lbl', false);
}
  return true;
}

function onloadClient() {
  var frm=document.frmMain;
  var key = eval("document.frmMain." + frm.inpKeyName.value);new TypeAheadCombo("reportAD_Client_ID_S");
if (inputValue(key)=="") updateOnChange(frm.inpadClientId);
new TypeAheadCombo("reportAD_Org_ID_S");
if (inputValue(key)=="") updateOnChange(frm.inpadOrgId);
new TypeAheadCombo("reportGL_Category_ID_S");
if (inputValue(key)=="") updateOnChange(frm.inpglCategoryId);
new TypeAheadCombo("reportDocBaseType_S");
if (inputValue(key)=="") updateOnChange(frm.inpdocbasetype);
new TypeAheadCombo("reportAD_Table_ID_S");
if (inputValue(key)=="") updateOnChange(frm.inpadTableId);
new TypeAheadCombo("reportDocSubTypeSO_S");
if (inputValue(key)=="") updateOnChange(frm.inpdocsubtypeso);
new TypeAheadCombo("reportC_DocTypeInvoice_ID_S");
if (inputValue(key)=="") updateOnChange(frm.inpcDoctypeinvoiceId);
new TypeAheadCombo("reportC_DocTypeShipment_ID_S");
if (inputValue(key)=="") updateOnChange(frm.inpcDoctypeshipmentId);
new TypeAheadCombo("reportDocNoSequence_ID_S");
if (inputValue(key)=="") updateOnChange(frm.inpdocnosequenceId);
new TypeAheadCombo("reportC_Doctype_Reversed_ID_S");
if (inputValue(key)=="") updateOnChange(frm.inpcDoctypeReversedId);
  displayLogic();
  return true;
}
</SCRIPT>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();updateMenuIcon('buttonMenu');onloadClient();xx();zz" onresize="resizeArea();" id="paramMessageAlert">
<FORM id="form" method="POST" action="DocumentDefinition_Relation.html" name="frmMain">
  <INPUT type="hidden" name="Command"></INPUT>
  <INPUT type="hidden" name="inpCommandType" value="" id="paramCommandType"></INPUT>
  <INPUT type="hidden" name="inpTabId" value="167"></INPUT>
  <INPUT type="hidden" name="inpParamSessionDate" value="" id="paramSessionDate"></INPUT>
  <INPUT type="hidden" name="inpLastFieldChanged" id="paramChanged" value=""></INPUT>
  <INPUT type="hidden" name="inpwindowId" value="" id="paramWindowId"></INPUT>
  <INPUT type="hidden" name="inpkeyColumnId" value="C_DocType_ID"></INPUT>
  <INPUT type="hidden" name="inpTableId" value="217" id="paramTableId"></INPUT>
  <INPUT type="hidden" name="inpKeyName" value="inpcDoctypeId"></INPUT>
  <INPUT type="hidden" name="inpkeyColumnIdInp" value="" id="inpkeyColumnId"></INPUT>
  <INPUT type="hidden" name="inpKeyReferenceColumnName"></INPUT>
  <INPUT type="hidden" name="inpTableReferenceId"></INPUT>
  <INPUT type="hidden" name="inpKeyReferenceId"></INPUT>
  <INPUT type="hidden" name="inpSecondKey"></INPUT>
  
<INPUT type="hidden" name="inphasproforma" id="HasProforma" value=""></INPUT>



<INPUT type="hidden" name="inpcDoctypeproformaId" id="C_DocTypeProforma_ID" value=""></INPUT>



<INPUT type="hidden" name="inpismaxtable" id="Ismaxtable" value=""></INPUT>



<INPUT type="hidden" name="inpisprinted" id="IsPrinted" value=""></INPUT>



<INPUT type="hidden" name="inpadPrintformatId" id="AD_PrintFormat_ID" value=""></INPUT>



<INPUT type="hidden" name="inpcreatepicklist" id="CreatePicklist" value=""></INPUT>



<INPUT type="hidden" name="inpistransferred" id="IsTransferred" value=""></INPUT>



<INPUT type="hidden" name="inpisapproved" id="IsApproved" value=""></INPUT>



<INPUT type="hidden" name="inpbatchnosequenceId" id="BatchNoSequence_ID" value=""></INPUT>



<INPUT type="hidden" name="inpcDoctypeId" id="C_DocType_ID" value=""></INPUT>



<INPUT type="hidden" name="inpisbatched" id="IsBatched" value=""></INPUT>



<INPUT type="hidden" name="inphascharges" id="HasCharges" value=""></INPUT>



<INPUT type="hidden" name="inpisbatchdocnocontrolled" id="IsBatchDocNoControlled" value=""></INPUT>



<INPUT type="hidden" name="inpisbatchcontrolenforced" id="IsBatchControlEnforced" value=""></INPUT>



<INPUT type="hidden" name="inpcApprovalId" id="C_Approval_ID" value=""></INPUT>



  <TABLE height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
    <TR>
      <TD valign="top" id="tdleftTabs"></TD>
      <TD valign="top">
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
          <TR><TD class="Main_NavBar_bg_left" id="tdleftSeparator"></TD></TR>
          <TR><TD class="Main_ToolBar_bg_left" valign="top"></TD></TR>
          <TR><TD class="Main_Client_bg_left"></TD></TR>
          <TR><TD class="Main_Bottom_bg_left"></TD></TR>
        </TABLE>
      </TD>
      <TD valign="top">
        <DIV class="Main_ContentPane_NavBar" id="tdtopButtons"></DIV>
        <DIV class="Main_ContentPane_ToolBar" id="paramToolBar"></DIV>
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
          <TR id="paramParentTabContainer"></TR>
          <TR id="paramMainTabContainer"></TR>
          <TR id="paramChildTabContainer"></TR>
        </TABLE>
        <DIV class="Main_ContentPane_Client" style="overflow: auto; display: none;" id="client">
          <TABLE summary="" id="sectionDetail">
            <TR>
              <TD>
                
                <TABLE cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
  <TBODY>
  <TR class="MessageBox_TopMargin">
    <TD class="MessageBox_LeftMargin"></TD>
    <TD></TD>
    <TD class="MessageBox_RightMargin"></TD>
  </TR>
  <TR>
    <TD class="MessageBox_LeftMargin"></TD>
    <TD>

      <TABLE cellpadding="0" cellspacing="0" style="width: 100%;">
        <TBODY>
        <TR>
          <TD>
            <DIV class="MessageBox_TopLeft"></DIV>
            <DIV class="MessageBox_Left"></DIV>
          </TD>
          <TD class="MessageBox_bg">

            <TABLE class="MessageBox_Top">
            <TBODY>
              <TR>
                <TD>
                  <SPAN>
                  <TABLE cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
                    <TBODY>
                    <TR>
                      <TD class="MessageBox_Icon_ContentCell">
                        <DIV class="MessageBox_Icon"></DIV>
                      </TD>
                      <TD style="vertical-align: top;" id="messageBoxIDContent">
                        <SPAN>
                          <DIV class="MessageBox_TextTitle" id="messageBoxIDTitle">
                            Info: AccessTableWithNoView
                          </DIV>
                          <DIV class="MessageBox_TextDescription" id="messageBoxIDMessage">
                            The current information is empty.
                          </DIV>
                          <DIV class="MessageBox_TextSeparator"></DIV>
                        </SPAN>
                      </TD>
                    </TR>
                    </TBODY>
                  </TABLE>
                  </SPAN>
                </TD>
              </TR>
              </TBODY>
            </TABLE>

          </TD>
          <TD class="MessageBox_RightTrans">
            <DIV class="MessageBox_TopRight"></DIV>
            <DIV class="MessageBox_Right"></DIV>
          </TD>
        </TR>
        <TR>
          <TD rowspan="2" class="MessageBox_BottomLeft">
          </TD>
          <TD class="MessageBox_BottomTrans MessageBox_bg">
          </TD>
          <TD rowspan="2" class="MessageBox_BottomRight">
          </TD>
        </TR>
        <TR>
          <TD class="MessageBox_Bottom">
          </TD>
        </TR>
        </TBODY>
      </TABLE>

    </TD>
    <TD class="MessageBox_RightMargin"></TD>
  </TR>
  <TR class="MessageBox_BottomMargin">
    <TD class="MessageBox_LeftMargin"></TD>
    <TD></TD>
    <TD class="MessageBox_RightMargin"></TD>
  </TR>
  </TBODY>
</TABLE>
                <TABLE width="100%" cellspacing="0" cellpadding="0" border="0" class="Main_Client_TableEdition">
                  <tr>
  <td class="TableEdition_OneCell_width"></td>
  <td class="TableEdition_TwoCells_width"></td>
  <td class="TableEdition_OneCell_width"></td>
  <td class="TableEdition_TwoCells_width"></td>
</tr>
<tr><td class="TitleCell" id="AD_Client_ID_lbl_td"><SPAN class="LabelText" id="AD_Client_ID_lbl"><A class="LabelLink" href="#" onclick="sendDirectLink(document.frmMain, 'AD_Client_ID', document.frmMain.inpcDoctypeId.value, '../utility/ReferencedLink.html', document.frmMain.inpadClientId.value, '112', '_self', true);return false;" onmouseover="return true;" onmouseout="return true;">Client</A> </SPAN></td>
<td class="Combo_ContentCell" id="AD_Client_ID_inp_td"><div id="editDiscard">
<DIV id="AD_Client_ID_inp">
  <SELECT name="inpadClientId" onchange="logChanges(this);selectCombo(this, 'xx');reloadComboReloads167(this.name);return true;" class="ComboKeyNoUpdatable Combo_OneCell_width" id="reportAD_Client_ID_S" readonly=true>
    
    <DIV id="reportAD_Client_ID"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="AD_Client_ID_inp">
  <SELECT name="inpadClientId" onchange="logChanges(this);reloadComboReloads167(this.name);return true;" class="ComboKey Combo_OneCell_width" id="reportAD_Client_ID_S">
    
    <DIV id="reportAD_Client_ID"></DIV>
  </SELECT>
</DIV>

</div></td>
<td class="TitleCell" id="AD_Org_ID_lbl_td"><SPAN class="LabelText" id="AD_Org_ID_lbl"><A class="LabelLink" href="#" onclick="sendDirectLink(document.frmMain, 'AD_Org_ID', document.frmMain.inpcDoctypeId.value, '../utility/ReferencedLink.html', document.frmMain.inpadOrgId.value, '155', '_self', true);return false;" onmouseover="return true;" onmouseout="return true;">Organization</A> </SPAN></td>
<td class="Combo_ContentCell" id="AD_Org_ID_inp_td"><div id="editDiscard">
<DIV id="AD_Org_ID_inp">
  <SELECT name="inpadOrgId" onchange="logChanges(this);reloadComboReloads167(this.name);return true;" class="ComboKey Combo_OneCell_width" id="reportAD_Org_ID_S">
    
    <DIV id="reportAD_Org_ID"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="AD_Org_ID_inp">
  <SELECT name="inpadOrgId" onchange="logChanges(this);reloadComboReloads167(this.name);return true;" class="ComboKey Combo_OneCell_width" id="reportAD_Org_ID_S">
    
    <DIV id="reportAD_Org_ID"></DIV>
  </SELECT>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="Name_lbl_td"><SPAN class="LabelText" id="Name_lbl">Name </SPAN></td>
<td colspan="3" class="TextBox_btn_ContentCell" id="Name_inp_td"><div id="editDiscard">
<DIV id="Name_inp">
  <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
      <TD class="TextBox_ContentCell">
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <INPUT type="text" id="Name" class="dojoValidateValid required TextBox_FiveCells_width" required="true" value="" maxlength="60" name="inpname" onkeyup="" onchange="validateTextBox(this.id);logChanges(this);return true;"></INPUT>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="NameinvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="NameinvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="NamemissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="NamemissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="NamerangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="NamerangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
    </TR>
  </TABLE>
</DIV>

</div><div id="newDiscard">
<DIV id="Name_inp">
  <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
      <TD class="TextBox_ContentCell">
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <INPUT type="text" id="Name" class="dojoValidateValid required TextBox_FiveCells_width" required="true" value="" maxlength="60" name="inpname" onkeyup="" onchange="validateTextBox(this.id);logChanges(this);return true;"></INPUT>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="NameinvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="NameinvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="NamemissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="NamemissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="NamerangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="NamerangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
    </TR>
  </TABLE>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="Description_lbl_td"><SPAN class="LabelText" id="Description_lbl">Description </SPAN></td>
<td colspan="3" class="TextBox_btn_ContentCell" id="Description_inp_td"><div id="editDiscard">
<DIV id="Description_inp">
  <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
      <TD class="TextBox_ContentCell">
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <INPUT type="text" id="Description" class="dojoValidateValid TextBox_FiveCells_width" required="false" value="" maxlength="255" name="inpdescription" onkeyup="" onchange="validateTextBox(this.id);logChanges(this);return true;"></INPUT>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DescriptioninvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="DescriptioninvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DescriptionmissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="DescriptionmissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DescriptionrangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="DescriptionrangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
    </TR>
  </TABLE>
</DIV>

</div><div id="newDiscard">
<DIV id="Description_inp">
  <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
      <TD class="TextBox_ContentCell">
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <INPUT type="text" id="Description" class="dojoValidateValid TextBox_FiveCells_width" required="false" value="" maxlength="255" name="inpdescription" onkeyup="" onchange="validateTextBox(this.id);logChanges(this);return true;"></INPUT>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DescriptioninvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="DescriptioninvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DescriptionmissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="DescriptionmissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DescriptionrangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="DescriptionrangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
    </TR>
  </TABLE>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="PrintName_lbl_td"><SPAN class="LabelText" id="PrintName_lbl">Print Text </SPAN></td>
<td colspan="3" class="TextBox_btn_ContentCell" id="PrintName_inp_td"><div id="editDiscard">
<DIV id="PrintName_inp">
  <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
      <TD class="TextBox_ContentCell">
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <INPUT type="text" id="PrintName" class="dojoValidateValid required TextBox_OneCell_width" required="true" value="" maxlength="60" name="inpprintname" onkeyup="" onchange="validateTextBox(this.id);logChanges(this);return true;"></INPUT>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="PrintNameinvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="PrintNameinvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="PrintNamemissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="PrintNamemissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="PrintNamerangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="PrintNamerangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
    </TR>
  </TABLE>
</DIV>

</div><div id="newDiscard">
<DIV id="PrintName_inp">
  <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
      <TD class="TextBox_ContentCell">
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <INPUT type="text" id="PrintName" class="dojoValidateValid required TextBox_OneCell_width" required="true" value="" maxlength="60" name="inpprintname" onkeyup="" onchange="validateTextBox(this.id);logChanges(this);return true;"></INPUT>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="PrintNameinvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="PrintNameinvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="PrintNamemissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="PrintNamemissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="PrintNamerangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="PrintNamerangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
    </TR>
  </TABLE>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="DocumentNote_lbl_td"><SPAN class="LabelText" id="DocumentNote_lbl">Comments </SPAN></td>
<td colspan="3" class="TextArea_ContentCell" id="DocumentNote_inp_td"><div id="editDiscard">
<DIV id="DocumentNote_inp">
  <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
      <TD>
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <TEXTAREA id="DocumentNote" class="dojoValidateValid TextArea_FiveCells_width TextArea_Medium_height" required="false" maxlength="2000" name="inpdocumentnote" onkeyup="" onchange="validateTextArea(this.id);logChanges(this);return true;"></TEXTAREA>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentNoteinvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="DocumentNoteinvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentNotemissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="DocumentNotemissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentNoterangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="DocumentNoterangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
    </TR>
  </TABLE>
</DIV>

</div><div id="newDiscard">
<DIV id="DocumentNote_inp">
  <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
      <TD>
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <TEXTAREA id="DocumentNote" class="dojoValidateValid TextArea_FiveCells_width TextArea_Medium_height" required="false" maxlength="2000" name="inpdocumentnote" onkeyup="" onchange="validateTextArea(this.id);logChanges(this);return true;"></TEXTAREA>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentNoteinvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="DocumentNoteinvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentNotemissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="DocumentNotemissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentNoterangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="DocumentNoterangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
    </TR>
  </TABLE>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="IsActive_lbl_td"><SPAN class="LabelText" id="IsActive_lbl">Active </SPAN></td>
<td class="Radio_Check_ContentCell" id="IsActive_inp_td"><div id="editDiscard">
  <DIV id="IsActive_inp">
    <INPUT type="checkbox" name="inpisactive" id="IsActive" value="Y" onclick="logChanges(this.inputNode);return true;" required="true"></INPUT>
  </DIV>

</div><div id="newDiscard">
  <DIV id="IsActive_inp">
    <INPUT type="checkbox" name="inpisactive" id="IsActive" value="Y" onclick="logChanges(this.inputNode);return true;" required="true"></INPUT>
  </DIV>

</div></td>
<td class="TitleCell" id="IsDefault_lbl_td"><SPAN class="LabelText" id="IsDefault_lbl">Default </SPAN></td>
<td class="Radio_Check_ContentCell" id="IsDefault_inp_td"><div id="editDiscard">
  <DIV id="IsDefault_inp">
    <INPUT type="checkbox" name="inpisdefault" id="IsDefault" value="Y" onclick="logChanges(this.inputNode);return true;" required="true"></INPUT>
  </DIV>

</div><div id="newDiscard">
  <DIV id="IsDefault_inp">
    <INPUT type="checkbox" name="inpisdefault" id="IsDefault" value="Y" onclick="logChanges(this.inputNode);return true;" required="true"></INPUT>
  </DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="GL_Category_ID_lbl_td"><SPAN class="LabelText" id="GL_Category_ID_lbl"><A class="LabelLink" href="#" onclick="sendDirectLink(document.frmMain, 'GL_Category_ID', document.frmMain.inpcDoctypeId.value, '../utility/ReferencedLink.html', document.frmMain.inpglCategoryId.value, '218', '_self', true);return false;" onmouseover="return true;" onmouseout="return true;">G/L Category</A> </SPAN></td>
<td class="Combo_ContentCell" id="GL_Category_ID_inp_td"><div id="editDiscard">
<DIV id="GL_Category_ID_inp">
  <SELECT name="inpglCategoryId" onchange="logChanges(this);return true;" class="ComboKey Combo_OneCell_width" id="reportGL_Category_ID_S">
    
    <DIV id="reportGL_Category_ID"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="GL_Category_ID_inp">
  <SELECT name="inpglCategoryId" onchange="logChanges(this);return true;" class="ComboKey Combo_OneCell_width" id="reportGL_Category_ID_S">
    
    <DIV id="reportGL_Category_ID"></DIV>
  </SELECT>
</DIV>

</div></td>
<td class="TitleCell" id="IsSOTrx_lbl_td"><SPAN class="LabelText" id="IsSOTrx_lbl">Sales Transaction </SPAN></td>
<td class="Radio_Check_ContentCell" id="IsSOTrx_inp_td"><div id="editDiscard">
  <DIV id="IsSOTrx_inp">
    <INPUT type="checkbox" name="inpissotrx" id="IsSOTrx" value="Y" onclick="logChanges(this.inputNode);reloadComboReloads167(this.name);return true;" required="true"></INPUT>
  </DIV>

</div><div id="newDiscard">
  <DIV id="IsSOTrx_inp">
    <INPUT type="checkbox" name="inpissotrx" id="IsSOTrx" value="Y" onclick="logChanges(this.inputNode);reloadComboReloads167(this.name);return true;" required="true"></INPUT>
  </DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="DocBaseType_lbl_td"><SPAN class="LabelText" id="DocBaseType_lbl">Document Category </SPAN></td>
<td class="Combo_ContentCell" id="DocBaseType_inp_td"><div id="editDiscard">
<DIV id="DocBaseType_inp">
  <SELECT name="inpdocbasetype" onchange="logChanges(this);displayLogic();return true;" class="ComboKey Combo_OneCell_width" id="reportDocBaseType_S">
    
    <DIV id="reportDocBaseType"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="DocBaseType_inp">
  <SELECT name="inpdocbasetype" onchange="logChanges(this);displayLogic();return true;" class="ComboKey Combo_OneCell_width" id="reportDocBaseType_S">
    
    <DIV id="reportDocBaseType"></DIV>
  </SELECT>
</DIV>

</div></td>
<td class="TitleCell" id="AD_Table_ID_lbl_td"><SPAN class="LabelText" id="AD_Table_ID_lbl"><A class="LabelLink" href="#" onclick="sendDirectLink(document.frmMain, 'AD_Table_ID', document.frmMain.inpcDoctypeId.value, '../utility/ReferencedLink.html', document.frmMain.inpadTableId.value, '100', '_self', true);return false;" onmouseover="return true;" onmouseout="return true;">Table</A> </SPAN></td>
<td class="Combo_ContentCell" id="AD_Table_ID_inp_td"><div id="editDiscard">
<DIV id="AD_Table_ID_inp">
  <SELECT name="inpadTableId" onchange="logChanges(this);return true;" class="Combo Combo_OneCell_width" id="reportAD_Table_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportAD_Table_ID"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="AD_Table_ID_inp">
  <SELECT name="inpadTableId" onchange="logChanges(this);return true;" class="Combo Combo_OneCell_width" id="reportAD_Table_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportAD_Table_ID"></DIV>
  </SELECT>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="DocSubTypeSO_lbl_td"><SPAN class="LabelText" id="DocSubTypeSO_lbl">SO Sub Type </SPAN></td>
<td colspan="3" class="Combo_ContentCell" id="DocSubTypeSO_inp_td"><div id="editDiscard">
<DIV id="DocSubTypeSO_inp">
  <SELECT name="inpdocsubtypeso" onchange="logChanges(this);return true;" class="Combo Combo_OneCell_width" id="reportDocSubTypeSO_S">
    <OPTION value=""></OPTION>
    <DIV id="reportDocSubTypeSO"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="DocSubTypeSO_inp">
  <SELECT name="inpdocsubtypeso" onchange="logChanges(this);return true;" class="Combo Combo_OneCell_width" id="reportDocSubTypeSO_S">
    <OPTION value=""></OPTION>
    <DIV id="reportDocSubTypeSO"></DIV>
  </SELECT>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="C_DocTypeInvoice_ID_lbl_td"><SPAN class="LabelText" id="C_DocTypeInvoice_ID_lbl"><A class="LabelLink" href="#" onclick="sendDirectLink(document.frmMain, 'C_DocType_ID', document.frmMain.inpcDoctypeId.value, '../utility/ReferencedLink.html', document.frmMain.inpcDoctypeinvoiceId.value, '217', '_self', true);return false;" onmouseover="return true;" onmouseout="return true;">Document Type for Invoice</A> </SPAN></td>
<td class="Combo_ContentCell" id="C_DocTypeInvoice_ID_inp_td"><div id="editDiscard">
<DIV id="C_DocTypeInvoice_ID_inp">
  <SELECT name="inpcDoctypeinvoiceId" onchange="logChanges(this);return true;" class="Combo Combo_TwoCells_width" id="reportC_DocTypeInvoice_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportC_DocTypeInvoice_ID"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="C_DocTypeInvoice_ID_inp">
  <SELECT name="inpcDoctypeinvoiceId" onchange="logChanges(this);return true;" class="Combo Combo_TwoCells_width" id="reportC_DocTypeInvoice_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportC_DocTypeInvoice_ID"></DIV>
  </SELECT>
</DIV>

</div></td>
<td class="TitleCell" id="C_DocTypeShipment_ID_lbl_td"><SPAN class="LabelText" id="C_DocTypeShipment_ID_lbl"><A class="LabelLink" href="#" onclick="sendDirectLink(document.frmMain, 'C_DocType_ID', document.frmMain.inpcDoctypeId.value, '../utility/ReferencedLink.html', document.frmMain.inpcDoctypeshipmentId.value, '217', '_self', true);return false;" onmouseover="return true;" onmouseout="return true;">Document Type for Shipment</A> </SPAN></td>
<td class="Combo_ContentCell" id="C_DocTypeShipment_ID_inp_td"><div id="editDiscard">
<DIV id="C_DocTypeShipment_ID_inp">
  <SELECT name="inpcDoctypeshipmentId" onchange="logChanges(this);return true;" class="Combo Combo_TwoCells_width" id="reportC_DocTypeShipment_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportC_DocTypeShipment_ID"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="C_DocTypeShipment_ID_inp">
  <SELECT name="inpcDoctypeshipmentId" onchange="logChanges(this);return true;" class="Combo Combo_TwoCells_width" id="reportC_DocTypeShipment_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportC_DocTypeShipment_ID"></DIV>
  </SELECT>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="IsDocNoControlled_lbl_td"><SPAN class="LabelText" id="IsDocNoControlled_lbl">Sequenced Document </SPAN></td>
<td colspan="3" class="Radio_Check_ContentCell" id="IsDocNoControlled_inp_td"><div id="editDiscard">
  <DIV id="IsDocNoControlled_inp">
    <INPUT type="checkbox" name="inpisdocnocontrolled" id="IsDocNoControlled" value="Y" onclick="logChanges(this.inputNode);displayLogic();return true;" required="true"></INPUT>
  </DIV>

</div><div id="newDiscard">
  <DIV id="IsDocNoControlled_inp">
    <INPUT type="checkbox" name="inpisdocnocontrolled" id="IsDocNoControlled" value="Y" onclick="logChanges(this.inputNode);displayLogic();return true;" required="true"></INPUT>
  </DIV>

</div></td>
</tr>
<td class="TitleCell" id="DocNoSequence_ID_lbl_td"><SPAN class="LabelText" id="DocNoSequence_ID_lbl"><A class="LabelLink" href="#" onclick="sendDirectLink(document.frmMain, 'AD_Sequence_ID', document.frmMain.inpcDoctypeId.value, '../utility/ReferencedLink.html', document.frmMain.inpdocnosequenceId.value, '115', '_self', true);return false;" onmouseover="return true;" onmouseout="return true;">Document Sequence</A> </SPAN></td>
<td class="Combo_ContentCell" id="DocNoSequence_ID_inp_td"><div id="editDiscard">
<DIV id="DocNoSequence_ID_inp">
  <SELECT name="inpdocnosequenceId" onchange="logChanges(this);return true;" class="Combo Combo_OneCell_width" id="reportDocNoSequence_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportDocNoSequence_ID"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="DocNoSequence_ID_inp">
  <SELECT name="inpdocnosequenceId" onchange="logChanges(this);return true;" class="Combo Combo_OneCell_width" id="reportDocNoSequence_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportDocNoSequence_ID"></DIV>
  </SELECT>
</DIV>

</div></td>
</tr>
<tr><td class="TitleCell" id="C_Doctype_Reversed_ID_lbl_td"><SPAN class="LabelText" id="C_Doctype_Reversed_ID_lbl"><A class="LabelLink" href="#" onclick="sendDirectLink(document.frmMain, 'C_DocType_ID', document.frmMain.inpcDoctypeId.value, '../utility/ReferencedLink.html', document.frmMain.inpcDoctypeReversedId.value, '217', '_self', true);return false;" onmouseover="return true;" onmouseout="return true;">Document Cancelled</A> </SPAN></td>
<td colspan="3" class="Combo_ContentCell" id="C_Doctype_Reversed_ID_inp_td"><div id="editDiscard">
<DIV id="C_Doctype_Reversed_ID_inp">
  <SELECT name="inpcDoctypeReversedId" onchange="logChanges(this);return true;" class="Combo Combo_TwoCells_width" id="reportC_Doctype_Reversed_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportC_Doctype_Reversed_ID"></DIV>
  </SELECT>
</DIV>

</div><div id="newDiscard">
<DIV id="C_Doctype_Reversed_ID_inp">
  <SELECT name="inpcDoctypeReversedId" onchange="logChanges(this);return true;" class="Combo Combo_TwoCells_width" id="reportC_Doctype_Reversed_ID_S">
    <OPTION value=""></OPTION>
    <DIV id="reportC_Doctype_Reversed_ID"></DIV>
  </SELECT>
</DIV>

</div></td>
</tr>
<td class="TitleCell" id="Orgfiltered_lbl_td"><SPAN class="LabelText" id="Orgfiltered_lbl">Filter by Organization </SPAN></td>
<td class="Radio_Check_ContentCell" id="Orgfiltered_inp_td"><div id="editDiscard">
  <DIV id="Orgfiltered_inp">
    <INPUT type="checkbox" name="inporgfiltered" id="Orgfiltered" value="Y" onclick="logChanges(this.inputNode);return true;" required="true"></INPUT>
  </DIV>

</div><div id="newDiscard">
  <DIV id="Orgfiltered_inp">
    <INPUT type="checkbox" name="inporgfiltered" id="Orgfiltered" value="Y" onclick="logChanges(this.inputNode);return true;" required="true"></INPUT>
  </DIV>

</div></td>
</tr>
<td class="TitleCell" id="DocumentCopies_lbl_td"><SPAN class="LabelText" id="DocumentCopies_lbl">Number of Copies </SPAN></td>
<td class="TextBox_btn_ContentCell" id="DocumentCopies_inp_td"><div id="editDiscard">
<DIV id="DocumentCopies_inp">
  <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
    <TR>
      <TD class="TextBox_ContentCell">
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <INPUT type="text" id="DocumentCopies" class="dojoValidateValid required TextBox_btn_OneCell_width number" required="true" value="" maxlength="10" name="inpdocumentcopies" onkeyup="" onchange="validateIntegerBox(this.id);logChanges(this);return true;"></INPUT>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentCopiesinvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="DocumentCopiesinvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentCopiesmissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="DocumentCopiesmissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentCopiesrangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="DocumentCopiesrangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
      <TD class="FieldButton_ContentCell"><A class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Number of Copies'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="calculator('frmMain.inpdocumentcopies', document.frmMain.inpdocumentcopies.value, false);return false;">
  <TABLE class="FieldButton" onmousedown="this.className='FieldButton_active'; return true;" onmouseup="this.className='FieldButton'; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Number of Copies'; return true;" onmouseout="this.className='FieldButton'; window.status=''; return true;" id="DocumentCopieslinkCalc">
    <TR>
      <TD class="FieldButton_bg">
        <IMG alt="Number of Copies" class="FieldButton_Icon FieldButton_Icon_Calc" title="Number of Copies" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
      </TD>
    </TR>
  </TABLE>
</A>
</TD>
    </TR>
  </TABLE>
</DIV>

</div><div id="newDiscard">
<DIV id="DocumentCopies_inp">
  <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
    <TR>
      <TD class="TextBox_ContentCell">
      <TABLE style="border:0px;border-collapse:collapse;">
        <TR>
          <TD style="padding-top: 0px;">
            <INPUT type="text" id="DocumentCopies" class="dojoValidateValid required TextBox_btn_OneCell_width number" required="true" value="" maxlength="10" name="inpdocumentcopies" onkeyup="" onchange="validateIntegerBox(this.id);logChanges(this);return true;"></INPUT>
          </TD>
        </TR>
      </TABLE>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentCopiesinvalidSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="DocumentCopiesinvalidSpanText">* The value entered is not valid.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentCopiesmissingSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="DocumentCopiesmissingSpanText">* This value is required.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="DocumentCopiesrangeSpan">
    <TABLE class="TextBox_MsgContainer_table">
      <TR class="TextBox_MsgContainer_tr">
        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
      </TR>
      <TR>
        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="DocumentCopiesrangeSpanText">* This value is out of range.</DIV></TD>
      </TR>
    </TABLE>
  </SPAN>
      </TD>
      <TD class="FieldButton_ContentCell"><A class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Number of Copies'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="calculator('frmMain.inpdocumentcopies', document.frmMain.inpdocumentcopies.value, false);return false;">
  <TABLE class="FieldButton" onmousedown="this.className='FieldButton_active'; return true;" onmouseup="this.className='FieldButton'; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Number of Copies'; return true;" onmouseout="this.className='FieldButton'; window.status=''; return true;" id="DocumentCopieslinkCalc">
    <TR>
      <TD class="FieldButton_bg">
        <IMG alt="Number of Copies" class="FieldButton_Icon FieldButton_Icon_Calc" title="Number of Copies" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
      </TD>
    </TR>
  </TABLE>
</A>
</TD>
    </TR>
  </TABLE>
</DIV>

</div></td>
</tr>

                </TABLE>
              </TD>
            </TR>
          </TABLE>
        </DIV>
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
          <TR>
            <TD class="Main_Bottom_bg"><IMG src="../../../../../web/images/blank.gif" border="0"></IMG></TD>
          </TR>
        </TABLE></TD>
      <TD valign="top">
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
          <TR><TD class="Main_NavBar_bg_right"></TD></TR>
          <TR><TD class="Main_ToolBar_bg_right" valign="top"></TD></TR>
          <TR><TD class="Main_Client_bg_right"></TD></TR>
          <TR><TD class="Main_Bottom_bg_right"></TD></TR>
        </TABLE>
      </TD>
    </TR>
  </TABLE>
</FORM>


</BODY></HTML>